package com.itheima.service.store;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.Company;

import java.util.List;

public interface CompanyService {
    PageInfo<Company> pageQuery(Integer pageNum, Integer pageSize)throws Exception;
    Company findById(String id)throws Exception;
    void save(Company company)throws Exception;
    void update(Company company)throws Exception;
    void delete(String... ids)throws Exception;
    List<Company> findAll()throws Exception;
}
